package org.hzy.services;

import org.hzy.exceptions.MyException;

public class MyService implements IMyService{
	public void add_user(String uname){
		System.out.println("add_user!!!!!!"+uname);
	}
	public String add(){
		System.out.println("add!!!!!!!!!!!");
		return "hzy";
	}
	public void add(Integer i) throws MyException{
		System.out.println("add with args i!!!!!!!!!!!");
		String a=null;
//		try { 
//			System.out.println(a.equals(i));
//		} catch (Exception e) {
//			// TODO: handle exception
//		}
		throw new MyException("wrong!!!!!!!!!!");
//		System.out.println(a.equals(i));
	}
	
	public void add(Integer i,String uname){
		System.out.println("this is add with args uname"+i+" "+uname);
	}
}
